import { appTasks } from '@ohos/hvigor-ohos-plugin';
import { maintainRoute } from './TypeScript/maintainRoute.ts'


function maintainRoute1(): HvigorPlugin{
  return {
    pluginId: 'customPlugin',
    apply(node: HvigorNode) {
      console.log(JSON.stringify(node))
    }
  }
}

export default {
  system: appTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
  plugins: [
    maintainRoute1()
  ]       /* Custom plugin to extend the functionality of Hvigor. */
}